import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export interface ISTATE {
  routePath: string;
}

export default new Vuex.Store({
  state: {
    routePath: "/"
  },
  mutations: {
    setRoutePath(state, payload: string) {
      state.routePath = payload;
    }
  },
  actions: {}
});
